from stealth import *
_targetValue = 100;
_currentSkillValue = 0
while _currentSkillValue < _targetValue:
  _currentSkillValue = GetSkillValue('Resisting Spells')
  if TargetPresent():
    CancelWaitTarget()
  #CastToObj('Clumsy', 0x000BAC9C);
  CastToObj('Feeblemind', 0x000BAC9C);
  Wait(2500);
